#include <QtGui/QApplication>
#include "uanalyserwidget.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
//    uAnalyserWidget w;
//    w.show();


//    QAudioDeviceInfo info(QAudioDeviceInfo::defaultInputDevice());
//    QAudioFormat audioFormat = info.preferredFormat();
//    qDebug() << "Preferred format: ";
//    qDebug() << "frequency: " << audioFormat.frequency() << "   channels: " << audioFormat.channels();
//    qDebug() << "sample size: " << audioFormat.sampleSize() << "   sample type: " << audioFormat.sampleType();
//    qDebug() << "byte order: " << audioFormat.byteOrder() << "   codec: " << audioFormat.codec();

//    qDebug() << "Supported byte orders:" << info.supportedByteOrders();
//    qDebug() << "Supported channels:" << info.supportedChannels();
//    qDebug() << "Supported codecs:" << info.supportedCodecs();
//    qDebug() << "Supported Frequencies:" << info.supportedFrequencies();
//    qDebug() << "Supported sample sizes:" << info.supportedSampleSizes();
//    qDebug() << "Supported sample types:" << info.supportedSampleTypes();


    uAnalyserMainWindow mainWin;
    mainWin.show();

    return a.exec();
}
